﻿using Idte.Academic.Assessment.Methods;
using Idte.Core.Infrastructure.Repository;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace Idte.Application.PDN.Models
{
    [Aggregate]
    public class AnswerLinkQuestion
    {
        [ForeignKey("AQuestionId")]
        public CompetencyQuestion AQuestion { get; set; }
        [Key, Column(Order = 0)]
        public Guid AQuestionId { get; set; }


        [ForeignKey("AnswerId")]
        public CompetencyAnswer Answer { get; set; }
        [Key, Column(Order = 1)]
        public Guid AnswerId { get; set; }
    }
}